.class final Lcom/wqmobile/sdk/widget/n;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/widget/ADView;

.field private final synthetic b:Landroid/widget/ImageView;

.field private final synthetic c:Landroid/widget/ImageView;


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/widget/ADView;Landroid/widget/ImageView;Landroid/widget/ImageView;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    iput-object p2, p0, Lcom/wqmobile/sdk/widget/n;->b:Landroid/widget/ImageView;

    iput-object p3, p0, Lcom/wqmobile/sdk/widget/n;->c:Landroid/widget/ImageView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 9

    const/4 v2, 0x0

    const/high16 v8, 0x41a0

    const/high16 v7, 0x3f80

    const-wide/16 v5, 0x1f4

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    iget-boolean v1, v1, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    if-eqz v1, :cond_0

    move v1, v2

    :goto_0
    iput-boolean v1, v0, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    new-instance v0, Landroid/view/animation/AnimationSet;

    invoke-direct {v0, v2}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    iget-boolean v1, v1, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->b:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    const-string v3, "wv_head_arrow_to_right.png"

    invoke-static {v2, v3}, Lcom/wqmobile/sdk/widget/ADView;->b(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v1, Landroid/view/animation/AlphaAnimation;

    invoke-direct {v1, v4, v7}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    invoke-virtual {v1, v5, v6}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v1, Landroid/view/animation/TranslateAnimation;

    invoke-direct {v1, v8, v4, v4, v4}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    invoke-virtual {v1, v5, v6}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->c:Landroid/widget/ImageView;

    const/16 v2, 0xff

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setAlpha(I)V

    :goto_1
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->c:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    return-void

    :cond_0
    const/4 v1, 0x1

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/n;->b:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/n;->a:Lcom/wqmobile/sdk/widget/ADView;

    const-string v3, "wv_head_arrow_to_left.png"

    invoke-static {v2, v3}, Lcom/wqmobile/sdk/widget/ADView;->b(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v1, Landroid/view/animation/AlphaAnimation;

    invoke-direct {v1, v7, v4}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    invoke-virtual {v1, v5, v6}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v1, Landroid/view/animation/TranslateAnimation;

    invoke-direct {v1, v4, v8, v4, v4}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    invoke-virtual {v1, v5, v6}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v1, Lcom/wqmobile/sdk/widget/o;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/n;->c:Landroid/widget/ImageView;

    invoke-direct {v1, p0, v2}, Lcom/wqmobile/sdk/widget/o;-><init>(Lcom/wqmobile/sdk/widget/n;Landroid/widget/ImageView;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    goto :goto_1
.end method
